/**
 * yeahmobi.com Inc.
 * Copyright © 2014 YeahMobi | All Rights Reserved.
 */

package com.ndp.fb.walle.business;

import com.ndp.fb.model.AdResourceComment;
import com.ndp.fb.model.AdResourceStats;
import com.ndp.fb.rdb.model.User;
import com.ndp.fb.walle.model.bo.adresource.result.UploadAdimageBoResult;
import com.ndp.fb.walle.model.vo.adresourcestats.param.AdResourceStatsParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @author yanghao
 * @Title: AdResourceService.java
 * @Copyright: Copyright © 2015
 * @Description:
 * @Company: yeahmobi
 * @Created on 下午3:18:13
 */

public interface AdResourceService {


     List<UploadAdimageBoResult> uploadAdImage(List<MultipartFile> fileList, String realPath,String appId,String appName, User user);

    void saveAdImageComment(String mongodbId, AdResourceComment adResourceComment);

    void saveAdimageTag(String mongodbId, String fileName, List<String> appNames, List<String> countries,
                        List<String> languages, String gender, List<String> interests, User user, Integer reviewStatus);

    List<AdResourceStats> findByMongodbIds(List<String> strings);
    AdResourceStats findByMongodbId(String strings);

    List<Map<String, Object>>  getAppcountries(String ticket, List<String> strings);

    List<AdResourceStats> getImageStatsGroupByBreakdowns(AdResourceStatsParam adResourceStatsParam);
}
